package 预习;

public class 方法 {
    public static void main(String[] args) {
        prigtAD();
        getMax(5,10);
    }


    public static void prigtAD() {
        for (int i = 0; i < 10; i++) {
            System.out.println("梦金园黄金 你值得拥有");
        }
    }
    public static void getMax(int a,int b){
        int max1;
        max1 =  a>b?a:b;
        System.out.println(max1);



    }
}

